package com.example.week8_mybatis_plus.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.week8_mybatis_plus.entity.Goods;
import com.example.week8_mybatis_plus.entity.Supplier;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jiangbo
 * @since 2022-10-25
 */
public interface ISupplierService extends IService<Supplier> {
    Page<Supplier> getSupplier(Map<String,Object> cond, Page<Supplier> page);
    Supplier addSupplier(Supplier supplier);
    Supplier updateSupplier(Supplier supplier);
    boolean deleteSupplier(int id);

}
